@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>茶叶档案管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="col-lg-10 col-sm-9">
                            <div class="row">
                                <div class="col-lg-4 col-sm-12">
                                    <#NameCon id="condition" name="关键字" placeholder="茶叶名称/茶叶编码/产地"/>
                                </div>
                                <div class="col-lg-4 col-sm-6">
                                    <#TimeCon id="beginTime" name="开始日期" isTime="false" pattern="YYYY-MM-DD"/>
                                </div>
                                <div class="col-lg-4 col-sm-6">
                                    <#TimeCon id="endTime" name="结束日期" isTime="false" pattern="YYYY-MM-DD" />
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-2 col-sm-3">
                            <div class="row">
                                <div class="col-lg-12 col-sm-12">
                                    <#button name="搜索" icon="fa-search" clickFun="TeaFile.search()"/>
                                    <#button name="重置" icon="fa-refresh" clickFun="TeaFile.resetSearch()" space="true"/>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="hidden-xs" id="TeaFileTableToolbar" role="group">
                        @if(shiro.hasPermission("/teaFile/add")){
                        <#button name="添加" icon="fa-plus" clickFun="TeaFile.openAddTeaFile()"/>
                        @}
                        @if(shiro.hasPermission("/teaFile/update")){
                        <#button name="修改" icon="fa-pencil" clickFun="TeaFile.openTeaFileDetail()" space="true"/>
                        @}
                        @if(shiro.hasPermission("/teaFile/delete")){
                        <#button name="删除" icon="fa-trash" clickFun="TeaFile.delete()" space="true"/>
                        @}
                        @if(shiro.hasPermission("/teaFile/detail")){
                        <#button name="编辑更多详情" icon="fa-file-text" clickFun="TeaFile.editDetail()" space="true"/>
                        @}
                        @if(shiro.hasPermission("/teaFile/downLoadQR")){
                        <#button name="下载二维码" icon="fa-qrcode" clickFun="TeaFile.downLoadQR()" space="true"/>
                        @}
                        <!--<#button name="导出此页" icon="fa-upload" clickFun="TeaFile.exportTable()" space="true"/>-->
                    </div>
                    <#table id="TeaFileTable"/>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<script src="${ctxPath}/static/modular/fileManage/teaFile/teaFile.js"></script>
@}
